package com.pjbao.Service;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.fasterxml.jackson.annotation.JsonIgnore;

@Document(collection="G9")
public class G9Model {
	  public G9Model() {
	    }
	
    private Data data;
    private String msg;
    private int code;
    private String idCard;
    
    
    
    public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	@Id
    @JsonIgnore
    public String pkId;

    public String getPkId() {
        return pkId;
    }
    public void setPkId(String pkId) {
        this.pkId = pkId;
    }
    public void setData(Data data) {
         this.data = data;
     }
     public Data getData() {
         return data;
     }

    public void setMsg(String msg) {
         this.msg = msg;
     }
     public String getMsg() {
         return msg;
     }

    public void setCode(int code) {
         this.code = code;
     }
     public int getCode() {
         return code;
     }
     
     public static class Data {
    	    private String respCode;
    	    private String retmsg;
    	    private Retdata retdata;
    	    private String userName;
    	    private String idCard;
    	    
    	    public String getUserName() {
				return userName;
			}
			public void setUserName(String userName) {
				this.userName = userName;
			}
			public String getIdCard() {
				return idCard;
			}
			public void setIdCard(String idCard) {
				this.idCard = idCard;
			}
			public void setRespCode(String respcode) {
    	         this.respCode = respcode;
    	     }
    	     public String getRespCode() {
    	         return respCode;
    	     }

    	    public void setRetmsg(String retmsg) {
    	         this.retmsg = retmsg;
    	     }
    	     public String getRetmsg() {
    	         return retmsg;
    	     }

    	    public void setRetdata(Retdata retdata) {
    	         this.retdata = retdata;
    	     }
    	     public Retdata getRetdata() {
    	         return retdata;
    	     }

    	}

}